package com.zyp.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by Intellij IDEA
 *
 * @author 赵雅璞
 * @Date: 2022/11/17 18:01
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tab_user")
public class User {
    @TableId(value = "u_id")
    private Integer uId;
    @TableField(value = "u_name")
    private String uName;
    @TableField(value = "u_email")
    private String uEmail;
    @TableField(value = "u_password")
    private String uPassword;
    @TableField(value = "u_sex")
    private String uSex;
    @TableField(value = "u_head")
    private String uHead;
}
